//首页的所有后台请求接口
import {request} from '@/utils/request.js'
 
 //获取部门名称
export function getDepartmentList () {
	return request({
		url:'/api/department/list',
		method:'GET'
	})
}

 //获取具体部门的用户
export function getDepartmentUser (deptName) {
	return request({
		url:`/api/department/users/${deptName}`,
		method:'GET'
	})
}